package com.es.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 描述:
 * MyBatis-
 *
 * @author Derek
 * 创建时间：2022-05-10 9:46
 */
@Data
@NoArgsConstructor
public class SysUser {
    private Integer id;
    private String name;
    private String password;
    private String remark;

    List<SysRole> roles;

    public SysUser(String name, String password, String remark) {
        this.name = name;
        this.password = password;
        this.remark = remark;
    }
}
